Touch Point
public final static TouchPoint TouchPoint(Integer id, TouchPoint.State state, Point positionInScreen, Point positionInWidget, Float force, Float radiusX, Float radiusY, Float rotationAngle)
public final static TouchPoint TouchPoint(Integer id, TouchPoint.State state, Point positionInScreen, Point positionInWidget, Float force, Float radiusX, Float radiusY, Float rotationAngle)
Creates a new instance of TouchPoint with the given parameters.
Since
8.0.0
Parameters
id
The unique identifier of the touch point. All touch events for this touch point must use the same identifier while it is active.
state
The state of the touch point.
position In Screen
The position of the touch point relative to the screen.
position In Widget
The position of the touch point relative to the widget.
force
The force applied at the touch point, in the range of 0..1
, where 0 indicates no pressure and 1 indicates maximum pressure.
radius X
The X-axis radius of the touch ellipse.
radius Y
The Y-axis radius of the touch ellipse.
rotation Angle
The touch rotation angle.